home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1988 June
/
Ahoy_Magazine_88-06_1988_Double_L.d64
/
swap speed
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2022-10-26
|
347b
|
12 lines
100 rem* swap speed by shawn k. smith
110 s=5120:rem for c-128 from ahoy!
120 ford=stos+29:ready:poked,y:next
130 a=int((s+11)/256):pokes+6,a
140 pokes+1,s+11-256*a
145 poked,peek(824):poked+1,peek(825)
150 sys(s):print"swap speed ready.":end
160 data 169,011,141,056,003,169,020,141
170 data 057,003,096,201,088,208,014,036
180 data 215,048,005,032,182,119,208,003
190 data 032,199,119,169,088,076